package com.jade.modle;

/*import org.codehaus.jackson.annotate.JsonIgnoreProperties;*/

//ignore "bytes" when return json format
/*@JsonIgnoreProperties({"bytes"}) */
public class FileMeta {
	
	private String fileName;
	private String fileSize;
	private String fileType;
	private byte[] bytes;
	
	// 图片预览地址
	private String previewSrc;

	
	// 定义getter/setter方法
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	public String getFileSize() {
		return fileSize;
	}
	public void setFileSize(String fileSize) {
		this.fileSize = fileSize;
	}
	public String getFileType() {
		return fileType;
	}
	public void setFileType(String fileType) {
		this.fileType = fileType;
	}
	public byte[] getBytes() {
		return bytes;
	}
	public void setBytes(byte[] bytes) {
		this.bytes = bytes;
	}
	public String getPreviewSrc() {
		return previewSrc;
	}
	public void setPreviewSrc(String previewSrc) {
		this.previewSrc = previewSrc;
	}
	
	
}
